# -*- coding:utf-8 -*-
import json
import pandas as pd
data = {}
with open('fixed.json','r',encoding='utf8') as r:
    data = json.loads(r.read())

# print(data)

# with open('c_json.txt','w',encoding='utf8') as w:
#     w.write(str(data))
columns = ['']
data_list = [ [k,v] for k,v in data.items() ]
print(data_list[0])
df = pd.DataFrame(data_list,columns=['英文参数名','中文名称'])
df.to_csv('c_data.csv',index=False)